import request from '@/utils/request'

export function Save(data) {
  return request({
    url: '/orders/save',
    method: 'post',
    data
  })
}

export function getList(params) {
  return request({
    url: '/orders/list',
    method: 'get',
    params: params
  })
}

export function info(params) {
  return request({
    url: '/orders/info',
    method: 'get',
    params: params
  })
}



export function Status(data) {
  return request({
    url: '/orders/status',
    method: 'put',
    data
  })
}

export function topStatus(data) {
  return request({
    url: '/orders/sort',
    method: 'put',
    data
  })
}

export function Del(query) {
  return request({
    url: '/orders/del',
    method: 'delete',
    params: query
  })
}
